define a 2d array in matlab. There are any references about define a 2d array in matlab in here. you can look below.